package xyz.erupt.annotation.sub_field;

import xyz.erupt.annotation.config.Comment;

import java.beans.Transient;

/**
 * @author kingSian
 */
public @interface Export {
    String title();

    @Comment("描述")
    String desc() default "";

    @Comment("是否显示,这里权重比View高")
    boolean show() default true;

    @Transient
    @Comment("显示顺序,不配置则按原顺序,如果配置了分组,则为组内顺序")
    int sort() default -1;

    @Comment("列宽度（单位:英磅）")
    String width() default "";

    @Comment("分组组别")
    String[] groups() default {};

    @Transient
    @Comment("分组组别显示顺序")
    int groupSort() default 0;

    @Comment("是否自动换行")
    boolean autoWrappLine() default true;

    @Comment("列宽是否自适应内容")
    boolean autoWith() default false;
}
